package com.hou.shop.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hou.common.utils.PageUtils;
import com.hou.shop.ware.controller.vo.MergeVo;
import com.hou.shop.ware.controller.vo.purchasefinishvo.PurchaseFinishVo;
import com.hou.shop.ware.entity.PurchaseEntity;

import java.util.List;
import java.util.Map;

/**
 * 采购信息
 *
 * @author houzongdu
 * @email 1716532921@qq.com
 * @date 2022-01-17 17:23:54
 */
public interface PurchaseService extends IService<PurchaseEntity> {

    PageUtils queryPage(Map<String, Object> params);

    // 未领取采购单
    PageUtils queryUnreceivePage(Map<String, Object> params);

    // 合并采购单
    void merge(MergeVo mergeVo);

    // 员工领取采购单
    void received(List<Long> purchaseIds);

    // 完成采购单
    void done(PurchaseFinishVo purchaseFinishVo);
}

